package messages.user;

import info.Passenger;
import messages.Message;

import java.io.Serializable;

public class LoginResponseMessage extends Message implements Serializable {
    private LoginQueryStatus queryStatus;
    private Passenger passenger;
    public LoginResponseMessage() {
        super(MSG_TYPE.MSG_LOGIN_ACK);
    }

    public Passenger getPassenger() {
        return passenger;
    }

    public LoginQueryStatus getQueryStatus() {
        return queryStatus;
    }

    public void setQueryStatus(LoginQueryStatus queryStatus) {
        this.queryStatus = queryStatus;
    }

    public void setPassenger(Passenger passenger) {
        this.passenger = passenger;
    }
}
